﻿using System;
using System.Linq;

class SolveQuadraticEquation
{
    static void Main(string[] args)
    {
		System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
        // Read coefficients
        string input = Console.ReadLine ();
        double a = double.Parse (input);

        input = Console.ReadLine ();
        double b = double.Parse (input);

        input = Console.ReadLine ();
        double c = double.Parse (input);

        // Calculate discriminant
        double D = b * b - 4 * a * c;
        
        if (D > 0)
        {
            // Calculate roots
            double x1 = (-b + Math.Sqrt(D)) / (2.0 * a);
            double x2 = (-b - Math.Sqrt(D)) / (2.0 * a);

            // Print result
            Console.WriteLine(x1);
            Console.WriteLine(x2);
        }
        else if (D == 0)
        {
            // Calculate root
            double  x1 = -b / (2.0 * a);

            // Print result
            Console.WriteLine(x1);
        }
        else // D < 0 - no roots
        {
            // Print "No"
            Console.WriteLine("No");
        }
    }
}
